<template>
  <div>
    <h1><slot></slot></h1>

    <module-actions1>通过 dispatch 访问 actions</module-actions1>
    <module-actions2>actions → 组件的 methods</module-actions2>
  </div>
</template>

<script>
import ModuleActions1 from './ModuleActions1.vue'
import ModuleActions2 from './ModuleActions2.vue'

export default {
  name: 'ModuleActions',
  components: {
    ModuleActions1,
    ModuleActions2
  }
}
</script>
